-
Home
-
Tiered Pricing Table for WooCommerce
-
3.4.0
-
Code
-
Classes
- GlobalTieredPricingCPT
Total Complexity |
51 |
Dependencies |
13 |
Dependents |
4 |
Total lines |
386 |
Lines of code |
313 |
Logical lines of code |
128 |
Comment lines |
23 |
Methods |
16 |
Properties |
3 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
39 |
10 |
66 |
savePricingRule() |
A |
46 |
9 |
35 |
renderBlankState() |
S |
47 |
4 |
46 |
sanitizePercentagePricingRules() |
S |
64 |
6 |
9 |
sanitizeFixedPricingRules() |
S |
64 |
5 |
9 |
getGlobalRules() |
S |
51 |
3 |
28 |
register() |
S |
47 |
2 |
36 |
getPricingRuleInstance() |
S |
64 |
3 |
11 |
getColumns() |
S |
61 |
2 |
13 |
registerMetaboxes() |
S |
57 |
1 |
21 |
renderPricingMetabox() |
S |
62 |
1 |
14 |
initInlineActions() |
S |
78 |
1 |
4 |
addPageToWooCommerceScreen() |
S |
73 |
1 |
5 |
renderRulesMetabox() |
S |
71 |
1 |
6 |
renderNoticeMetabox() |
S |
71 |
1 |
6 |
isSetupingANewPricingRule() |
S |
76 |
1 |
4 |